home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 11
/
Cream of the Crop 11-1.iso
/
educate
/
vgw102a.zip
/
FILTER.FRM
< prev
next >
Wrap
Text File
|
1994-09-19
|
1KB
|
27 lines
{This form writes the scores for two tasks for all students in the class!
{ but only if they pass the filter criteria
{[OnePerPage] <- Add this command to print one set of students per page
[SAY"This form shows how to use filters to select students."]Class: [classname]
Date: [date][PageNumbers]
[dtask@1][tfilter]
{Preset task filter:}
[header]["Name":21][RJust][dtask@1][TaskName:25][dtask@2][TaskName:25][TaskName:25][LJust]
[students][dtask@1][tfilter<80][iftfilter][dtask@2][tfilter^2,3][iftfilter][name:21][dtask@1][taskscore:25:2][dtask@2][taskscore:25:2]
{Ask task filter:}
[SAY"It asks for the filter for the first task."][dtask@1][tfilter?]
[header]["Name":21][RJust][dtask@1][TaskName:25][dtask@2][TaskName:25][TaskName:25][LJust]
[students][dtask@1][iftfilter][dtask@2][iftfilter][name:21][dtask@1][taskscore:25:2][dtask@2][taskscore:25:2]
[db1][dfilter]
{Preset database filter:}
[header]["Name":21][RJust][dtask@1][TaskName:25][dtask@2][TaskName:25][TaskName:25][LJust]
[students][dfilter>K][ifdfilter][name:21][dtask@1][taskscore:25:2][dtask@2][taskscore:25:2]
{Ask for database filter value:}
[SAY"It then asks for the filter for the first database item."][db1][dfilter?]
[header]["Name":21][RJust][dtask@1][TaskName:25][dtask@2][TaskName:25][TaskName:25][LJust]
[students][ifdfilter][name:21][dtask@1][taskscore:25:2][dtask@2][taskscore:25:2]